** trapd.log ** 2011-06-21 20:26:56,244 DEBUG [TrapQueueProcessor] Snmp4JTrapNotifier$Snmp4JV2TrapInformation: V2 TRAP numVars or pdu length: 6 2011-06-21 20:26:56,244 DEBUG [TrapQueueProcessor] Snmp4JTrapNotifier$Snmp4JV2TrapInformation: v2 trap - trapInterface: /22.222.1.12 2011-06-21 20:26:56,244 DEBUG [TrapQueueProcessor] Snmp4JTrapNotifier$Snmp4JV2TrapInformation: V2 TRAP first varbind value: 292 days, 18:45:20.84 2011-06-21 20:26:56,244 DEBUG [TrapQueueProcessor] Snmp4JTrapNotifier$Snmp4JV2TrapInformation: V2 TRAP first varbind value is of type TIMETICKS (correct) 2011-06-21 20:26:56,244 DEBUG [TrapQueueProcessor] TrapIdentity: snmpTrapOID: .1.3.6.1.4.1.9.9.138.2.0.1 2011-06-21 20:26:56,244 DEBUG [TrapQueueProcessor] EventCreator: setTrapIdentity: snmp trap [Generic=6, Specific=1, EnterpriseId=.1.3.6.1.4.1.9.9.138.2] 2011-06-21 20:26:56,244 DEBUG [TrapQueueProcessor] Snmp4JTrapNotifier$Snmp4JV2TrapInformation: Skipping processing of varbind 0: it is sysuptime and the first varbind, and is not processed as a parm per RFC2089 2011-06-21 20:26:56,244 DEBUG [TrapQueueProcessor] Snmp4JTrapNotifier$Snmp4JV2TrapInformation: Skipping processing of varbind 1: it is the trap OID and the second varbind, and is not processed as a parm per RFC2089 2011-06-21 20:26:56,245 DEBUG [TrapQueueProcessor] EventConfData: Match found using key: EventKey [ id = [.1.3.6.1.4.1.9.9.138.2] generic = [6] specific = [1] ] 2011-06-21 20:26:56,245 DEBUG [TrapQueueProcessor] TrapQueueProcessor: Trap successfully converted and sent to eventd with UEI uei.opennms.org/vendor/Cisco/traps/ceAlarmAsserted ** eventd.log ** 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: Event { 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: uuid = 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: uei = uei.opennms.org/vendor/Cisco/traps/ceAlarmAsserted 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: src = trapd 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: iface = 22.222.1.12 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: time = Wednesday, June 22, 2011 1:26:56 AM GMT 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: parms { 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: (.1.3.6.1.4.1.9.9.138.1.3.3.1.3.184, 30) 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: (.1.3.6.1.4.1.9.9.138.1.3.3.1.4.184, 9) 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: (.1.3.6.1.4.1.9.9.138.1.3.3.1.5.184, 4) 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: (.1.3.6.1.4.1.9.9.138.1.3.3.1.6.184, -1765335212) 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: } 2011-06-21 20:26:56,245 DEBUG [EventHandlerPool-fiber0] DefaultEventHandlerImpl: } 2011-06-21 20:26:56,246 DEBUG [EventHandlerPool-fiber0] EventConfData: Match found using key: EventKey [ id = [.1.3.6.1.4.1.9.9.138.2] generic = [6] specific = [1] ] 2011-06-21 20:26:56,246 DEBUG [EventHandlerPool-fiber0] JdbcEventWriter: JdbcEventWriter: processing uei.opennms.org/vendor/Cisco/traps/ceAlarmAsserted nodeid: 0 ipaddr: 22.222.1.12 serviceid: null time: Wednesday, June 22, 2011 1:26:56 AM GMT 2011-06-21 20:26:56,246 DEBUG [EventHandlerPool-fiber0] JdbcEventWriter: DBID: 1384 2011-06-21 20:26:56,248 DEBUG [EventHandlerPool-fiber0] JdbcEventWriter: SUCCESSFULLY added uei.opennms.org/vendor/Cisco/traps/ceAlarmAsserted related data into the EVENTS table. 2011-06-21 20:26:56,248 DEBUG [EventHandlerPool-fiber0] JdbcEventWriter: EventWriter finished for : uei.opennms.org/vendor/Cisco/traps/ceAlarmAsserted 2011-06-21 20:26:56,248 DEBUG [EventHandlerPool-fiber0] EventIpcManagerDefaultImpl: Event ID 1384 to be broadcasted: uei.opennms.org/vendor/Cisco/traps/ceAlarmAsserted 2011-06-21 20:26:56,248 DEBUG [EventHandlerPool-fiber0] EventIpcManagerDefaultImpl: Queued event ID 1384 to listener thread: Actiond:BroadcastEventProcessor 2011-06-21 20:26:56,248 DEBUG [EventHandlerPool-fiber0] EventIpcManagerDefaultImpl: Queued event ID 1384 to listener thread: Notifd:BroadcastEventProcessor 2011-06-21 20:26:56,248 DEBUG [EventHandlerPool-fiber0] EventIpcManagerDefaultImpl: Queued event ID 1384 to listener thread: Scriptd:BroadcastEventProcessor 2011-06-21 20:26:56,248 DEBUG [EventHandlerPool-fiber0] EventIpcManagerDefaultImpl: Queued event ID 1384 to listener thread: Alarmd 2011-06-21 20:26:56,248 DEBUG [EventHandlerPool-fiber0] EventIpcManagerDefaultImpl: Queued event ID 1384 to listener thread: OpenNMS.EventTranslator ** DB queries ** opennms=# select * from ipinterface where ipaddr='22.222.1.12'; id | nodeid | ipaddr | ifindex | iphostname | ismanaged | ipstatus | iplastcapsdpoll | issnmpprimary | snmpinterfaceid -----+--------+-------------+---------+-------------+-----------+----------+----------------------------+---------------+----------------- 203 | 3 | 22.222.1.12 | | 22.222.1.12 | M | | 2011-06-21 10:00:12.109-05 | P | (1 row) opennms=# select * from ipinterface where nodeid=3; id | nodeid | ipaddr | ifindex | iphostname | ismanaged | ipstatus | iplastcapsdpoll | issnmpprimary | snmpinterfaceid -----+--------+----------------+---------+----------------+-----------+----------+----------------------------+---------------+----------------- 208 | 3 | 22.222.254.12 | 2 | 22.222.254.12 | M | | 2011-06-21 10:00:12.109-05 | S | 207 209 | 3 | 22.222.254.102 | 2 | 22.222.254.102 | M | | 2011-06-21 10:00:12.109-05 | S | 207 211 | 3 | 22.222.253.43 | 1 | 22.222.253.43 | M | | 2011-06-21 10:00:12.109-05 | N | 210 215 | 3 | 222.22.224.214 | 3 | 222.22.224.214 | M | | 2011-06-21 10:00:12.109-05 | N | 214 217 | 3 | 222.22.210.23 | 8 | 222.22.210.23 | M | | 2011-06-21 10:00:12.109-05 | N | 216 203 | 3 | 22.222.1.12 | | 22.222.1.12 | M | | 2011-06-21 10:00:12.109-05 | P | opennms=# select * from events where eventid=1384; eventid | eventuei | nodeid | eventtime | eventhost | eventsource | ipaddr | eventdpname | eventsnmphost | serviceid | eve ntsnmp | eventparms | eventcreatetime | eventdescr | eventloggroup | eventlogmsg | eventseverity | eventpat houtage | eventcorrelation | eventsuppressedcount | eventoperinstruct | eventautoaction | eventoperaction | eventoperactionmenutext | eventnotification | eventtticket | eventtticketstate | eventforward | eventmouseovertext | eventlog | eventdisplay | eventackuser | eventacktime | alarmid | ifindex ---------+----------------------------------------------------+--------+------------------------+-------------+-------------+-------------+-------------+---------------+-----------+---------------------- --------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --------------------------------+----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------------------------+---------------+-----------------------------------------------------+---------------+--------- --------+------------------+----------------------+-------------------+-----------------+-----------------+-------------------------+-------------------+--------------+-------------------+--------------+ --------------------+----------+--------------+--------------+--------------+---------+--------- 1384 | uei.opennms.org/vendor/Cisco/traps/ceAlarmAsserted | | 2011-06-21 20:26:56-05 | 22.222.1.12 | trapd | 22.222.1.12 | undefined | 22.222.1.12 | | .1.3.6.1.4.1.9.9.138. 2,undefined,v2,1,6,public | .1.3.6.1.4.1.9.9.138.1.3.3.1.3.184=30(Int32,text);.1.3.6.1.4.1.9.9.138.1.3.3.1.4.184=9(Int32,text);.1.3.6.1.4.1.9.9.138.1.3.3.1.5.184=4(Int32,text);.1.3.6.1.4.1.9.9.138.1.3.3. 1.6.184=-1765335212(Int32,text) | 2011-06-21 20:26:56.247-05 |

The agent generates this trap when a physical entity asserts an alarm.

ceAlarmHistEntPhysicalIndex30

ceAlarmHistAlarmType9

ceAlarmHistSeverity4 critical(1) major(2) minor(3) info(4)

ceAlarmHistTimeStamp-1765335212

| |

Cisco Event: Physical Device Alarm Asserted.

| 5 | | | | | | | | | | | | | Y | Y | | | | (1 row)